import request from "./request";


//菜品类别
export function category(data) {
    return request(
        {
            url: "/api/index/category",
            method: "post",
            data,
        }

    );
}


//餐品列表
export function goodsList(data) {
    return request(
        {
            url: "/api/index/goods",
            method: "post",
            data,
        }

    );
}


//确认结算

export function confirmOrder(data) {
    return request(
        {
            url: "/api/index/confirm_order",
            method: "post",
            data,
        }

    );
}


//配置信息
export function config(data) {
    return request(
        {
            url: "/api/index/config",
            method: "post",
            data,
        }

    );
}



